package com.huawei.push.entity;
 
 import com.huawei.push.entity.SoftwareUsageInfo;
 import java.util.List;
 
 public class Usage {
   private String license;
   
   private List<SoftwareUsageInfo> software_usage_Info;
   
   public void setLicense(String license) {
     this.license = license;
   }
   
   public void setSoftware_usage_Info(List<SoftwareUsageInfo> software_usage_Info) {
     this.software_usage_Info = software_usage_Info;
   }
   
   public boolean equals(Object o) {
     if (o == this)
       return true;
     if (!(o instanceof com.huawei.push.entity.Usage))
       return false;
     com.huawei.push.entity.Usage other = (com.huawei.push.entity.Usage)o;
     if (!other.canEqual(this))
       return false;
     Object this$license = getLicense(), other$license = other.getLicense();
     if ((this$license == null) ? (other$license != null) : !this$license.equals(other$license))
       return false;
     List<SoftwareUsageInfo> this$software_usage_Info = getSoftware_usage_Info(), other$software_usage_Info = other.getSoftware_usage_Info();
     return !((this$software_usage_Info == null) ? (other$software_usage_Info != null) : !this$software_usage_Info.equals(other$software_usage_Info));
   }
   
   protected boolean canEqual(Object other) {
     return other instanceof com.huawei.push.entity.Usage;
   }
   
   public int hashCode() {
     int PRIME = 59;
     int result = 1;
     Object $license = getLicense();
     result = result * 59 + (($license == null) ? 0 : $license.hashCode());
     List<SoftwareUsageInfo> $software_usage_Info = getSoftware_usage_Info();
     return result * 59 + (($software_usage_Info == null) ? 0 : $software_usage_Info.hashCode());
   }
   
   public String toString() {
     return "Usage(license=" + getLicense() + ", software_usage_Info=" + getSoftware_usage_Info() + ")";
   }
   
   public String getLicense() {
     return this.license;
   }
   
   public List<SoftwareUsageInfo> getSoftware_usage_Info() {
     return this.software_usage_Info;
   }
 }